
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>Data Print</title>

		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
			<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery1.7.1.js"></script>
			<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery.cycle.lite.js"></script>
			<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/main.js"></script>
			<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/style.css" />
	</head>
	<body>
		<?php
		$setting = Setting::get_settings();
		?>
		<div id="main_block">
			<div id="menu_top">
				<ul id="top_menu">

					<li>
						<a href="<?=$this->createUrl('main/index')?>">Головна</a>
					</li>
						<?php Menu::get_menu_top_oop(0); ?>
					<li>
						<a href="<?=$this->createUrl('voprosotvet/index')?>">Інформація</a>
					</li>
					<li>
						<?php
						 $price=Price::model()->find();
						?>
						<a href="/price/<?=$price->file?>" target="_blank">Прайс</a>
					</li>
					<li class="no_border">
						<?= $setting->kurs_nal ?>
						<br/>
						<?= $setting->kurs_bn ?>
					</li>
				</ul>
				<div id="send_mail">
					<a href="mailto:<?= $setting->mail ?>"></a>
				</div>
				<div id="clear"></div>
			</div>
			<div id="left_block">
				<a href="<?=$this->createUrl('main/index')?>" id=logo></a>
				<div id="contacts">
					<p><?= $setting->name ?></p>
					<p><?= $setting->address1 ?></p>
					<p><?= $setting->address2 ?></p>
					<p><?= $setting->tel1 . ', ' . $setting->tel2 ?></p>
				</div>
				<div id="work_sidebar">
					<div class="name_left_block"></div>
					<div style="min-height:300px"></div>
				</div>
				<div id="bottom_sidebar">
					<div id="email_company">
						<? //=mail_company()?>
					</div>
				</div>
			</div>
			<div id="right_block">
				<div id="photo_search">
					<div class="slideshow_big">
						<?php
						$slider = SliderPhoto::get_all_slide_photo();
						if (!empty($slider)) {
							foreach ($slider as $one_photo) {
								echo '<img src="/slider/' . $one_photo->src . '" height="300"  width="770"></img>';
							}
						}
						?>


					</div>
					<div id="search">
						<div id="search_block">
							<div id="search_ico"></div>
							<div id="search_form">
								<form>
									<input type="text" name="" value="" size="12"/>
								</form>
								<a href=""></a>
							</div>

						</div>
					</div>
				</div>
<!--				<div id="content">-->
					<?php echo $content; ?>
<!--				</div>-->
			</div>
			<div class="clear"></div>
			<div id="bottom">
				<div id="owner_prava">
					&copy; ТОВ «Дата прінт»  2006
				</div>
			</div>
		</div>
    </body>
</html>